<template>
  <div class="m_cell">
    <div class="container">
      <img src="../assets/img/系统功能.png" alt="">
      <van-cell
          :key="message.id"
          :title="'个人信息: ' + message.title"
          center
          :value="'内容:'"
          :label="'描述信息' + message.msgDate.substr(0, 10) + '...'"
          is-link
          @click="$router.push(`/message/${message.id}`)"/>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
    }
  },
  props: ["message"],
  methods: {
  }

}
</script>

<style scoped lang="less">
.m_cell {
  box-sizing: border-box;
  padding: 10px 15px;
  border-bottom: 1px dashed #cfcfcf;
  background-color: #fff;
}

.container {
  display: flex;

  img {
    width: 80px;
  }
}

</style>